package com.example.mapdata.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (Hotcity)实体类
 *
 * @author makejava
 * @since 2024-09-20 08:49:25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("hotcity")
public class Hotcity extends Model<Hotcity> implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private String id;
    /**
     * 城市编号
     */
    private Integer cityId;
    /**
     * 城市别名
     */
    private String code;
    /**
     * 城市名称
     */
    private String name;
}

